/*
 * Copyright (C) 2009 Christoph Caks
 *
 * This file is part of GLWAK.
 *
 * GLWAK is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * GLWAK is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with GLWAK.  If not, see <http://www.gnu.org/licenses/>.
 *
 *
 * WindowConfiguration.cpp
 *
 *  Created on: 15.07.2009
 *      Author: Christoph Caks
 */

#include "WindowConfiguration.h"

namespace glwak {

WindowConfiguration::WindowConfiguration():
	caption		( "GLWAK Window" ),
	height		( 400 ),
	width		( 600 ),
	fullscreen	( false ) {
}

WindowConfiguration::WindowConfiguration( const std::string &_caption, int _width, int _height, bool _fullscreen ):
	caption		( _caption ),
	height		( _height ),
	width		( _width ),
	fullscreen	( _fullscreen ) {
}

WindowConfiguration::WindowConfiguration( const WindowConfiguration &_windowConfiguration ) {
	this->caption = _windowConfiguration.caption;
	this->height = _windowConfiguration.height;
	this->width = _windowConfiguration.width;
	this->fullscreen = _windowConfiguration.fullscreen;
}

WindowConfiguration::~WindowConfiguration() {
}

void WindowConfiguration::setCaption( const std::string &_caption ) {
	this->caption = _caption;
}

void WindowConfiguration::setHeight( int _height ) {
	this->height = _height;
}

void WindowConfiguration::setWidth( int _width ) {
	this->width = _width;
}

void WindowConfiguration::setFullscreen( bool _fullscreen ) {
	this->fullscreen = _fullscreen;
}

const std::string &WindowConfiguration::getCaption() {
	return this->caption;
}

int WindowConfiguration::getHeight() {
	return this->height;
}

int WindowConfiguration::getWidth() {
	return this->width;
}

bool WindowConfiguration::isFullscreen() {
	return this->fullscreen;
}

} // namespace glwak
